import os
import sys
from CAD插入公式 import main

if __name__ == "__main__":
    try:
        main()
    except Exception as e:
        print(f"程序运行出错: {e}", file=sys.stderr)
    finally:
        input("按任意键退出...")